<%-- 
    Document   : loginAdmin
    Created on : Jun 8, 2013, 12:08:34 PM
    Author     : Florencia
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <title>Login Admin</title>
    </head>
    <body  background = "gambar/background3.jpg" style = "background-repeat: no-repeat; background-attachment: fixed">
        <table>
            <tr>
                <td>
                    <a href="index.jsp" ><img src="gambar/h.jpg"></a>
                </td>
                <td>
                    <a href="index.jsp" style="text-decoration:none"><font size = "6"><b>HOME</b></font></a>
                </td>
            </tr>
        </table>
        <br>

        <div align="center">
            <center><table border = 10 cellpadding = 10 cellspacing = 3 bgcolor="#FFFFFF">
                    <tr>
                        <td colspan="4" bgcolor = "#FFFFFF">
                            <center><font color = "brown" size = "7">
                                    <b>THE BIGGEST FASHION SHOP</b></font>
                            </center>
                    </tr>
                    <tr bgcolor="#FFFFFF">
                    <center><th>
                            <img src="gambar/cover1.jpg" width="300" height="350">
                        </th>
                        <td>
                            <img src="gambar/cover2.jpg" width="300" height="350">
                        </td>
                        <td>
                            <img src="gambar/cover3.jpg" width="300" height="350">
                        </td>
                        <td>
                            <img src="gambar/cover4.jpg" width="300" height="350">
                        </td>
                    </center>
                    </tr>
                    <tr>
                        <td colspan="4" bgcolor = "#FFFFFF">
                    <marquee>
                        <center><font color = "brown" size = "7">
                                <b>KAMI BUKAN YANG PERTAMA, TAPI YANG UTAMA</b></font>
                        </center>
                    </marquee>
                    </td>
                    </tr>
                </table></center>
        </div>

        <br><br>

        <%try {
                        if (request.getParameter("error").equals("y")) {

        %>

    <blink><h1 align="center" style="color: red">username and password incorrect ,, please try again!!! </h1></blink>
    <%                             }
                } catch (Exception e) {
                }
    %>
    <form action="LoginServlet" method="post">
        <center>
            <font size = "7"><b>Login Admin</b></font>

            <br><br>

            <label><font size = "5"><b>UserName</b></font>
            </label>
            <input type="text" name="userName"><br><br>
            <label><font size = "5"><b>Password</b></font>
            </label>
            <input type="password" name="password"><br><br>
            <button  type="submit">Login</button>
        </center>
    </form>
</body>
</html>